package com.bestcem.xm.txtanls.entity.mysql;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * TXTANLS_SURVEYTXTANLSFIELDS 实体类
 *
 * @author jie.yao <jie.yao@idiaoyan.com>
 * @version v1.0
 * @date 2021/9/27 15:24
 */
@Data
@TableName("ds_txtanls_survey_field")
public class SurveyTxtanlsFieldEntity {

    /**
     * 文本分析项目id
     */
    @TableField(value = "survey_field_id")
    private String surveyFieldId;

    /**
     * 文本分析项目id
     */
    @TableField(value = "project_id")
    private String projectId;

    /**
     * 问卷id
     */
    @TableField(value = "survey_id")
    private String surveyId;

    /**
     * 问卷字段id
     */
    @TableField(value = "field_name")
    private String fieldName;

    /**
     * 问卷字段中文标题
     */
    @TableField(value = "col_name")
    private String colName;

    /**
     * 字段类型
     *
     * @see com.bestcem.xm.txtanls.enums.SurveyFieldTypeEnum
     */
    @TableField(value = "type")
    private Integer type;

    /**
     * 创建用户id
     */
    @TableField("creator_id")
    private String creatorId;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;

    /**
     * 更新用户id
     */
    @TableField("operator_id")
    private String operatorId;

    /**
     * 更新时间
     */
    @TableField("update_time")
    private Date updateTime;
}
